html,
body,
#root {
  height: 100%;
  overflow: hidden;
}

a {
  color: #f76e03;

  &:hover {
    color: #fff !important;
  }
}

.ant-typography-copy {
  color: #f76e03 !important;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.centerl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.columns{
  display: flex;
  flex-direction: column;
}
.spread {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .ant-tabs-nav {
    margin: 0 !important;
  }
}

.drag {
  display: none;
  width: 100%;
  height: 30px;
  background-color: rgba(255, 255, 255, 0);
  -webkit-app-region: drag;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1111;
  transition: all 0.4s;
  cursor: pointer;
}

.ant-pro-form-login-header {
  height: auto !important;
}

.ant-pro-form-login-logo {
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;

  img {
    width: auto !important;
    height: 140px !important;
    border-radius: 0 !important;
  }
}

.center {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

// protable 默认样式覆盖
.ant-pro-table .ant-pro-table-search,
.ant-pro-card-body {
  margin: 0 !important;
  padding: 0 !important;
}

.ant-pro-table-list-toolbar-container {
  padding-top: 0 !important;
  padding-bottom: 18px !important;
}

.ant-pro-table-list-toolbar-right {
  flex: 1 !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
}

.ant-pro-table-list-toolbar-left {
  display: none;
}

.ant-pro-form-login-main {
  min-width: 270px !important;
  max-width: 84vw !important;
  width: 100% !important;
}

.table-cell {
  display: -webkit-box;
  //width: 100%;
  overflow: hidden;
  font-size: 12px !important;
  word-break: break-all !important;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.noline {
  .ant-tabs-nav::before {
    border: none !important;
  }

  .ant-card-head {
    border: none !important;
  }
}

.ant-menu {
  border: none !important;
}

.react-reveal {
  word-break: break-all !important;
}

.sorts {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s;
  z-index: 99;

  &:hover {
    background-color: var(--color);
  }

  * {
    transition: all 0.4s !important;
  }
}

.contained {
  display: flex;
  flex-direction: column;

  .ant-card {
    background-color: var(--bgcolor);
    border-radius: 12px !important;
  }

  .ant-pro-card {
    background-color: transparent;
  }

  .ant-drawer-body {
    padding: 0 !important;
    padding-right: 24px !important;
  }
}

.ant-layout-sider {
  max-width: 220px !important;
  min-width: 220px !important;
}

.ant-layout-sider-collapsed {
  max-width: var(--width) !important;
  min-width: var(--width) !important;
}

.ant-segmented {
  border-radius: 60px !important;
}

.ant-segmented-group {
  overflow: hidden;
  border-radius: 60px !important;

  .ant-segmented-item,
  .ant-segmented-item-selected {
    border-radius: 60px !important;
  }
}

.ant-pro-form-login-container {
  padding-inline: 28px !important;
}

.contain {
  margin: 0 12px;
}


.ant-menu-item,
.ant-menu-submenu {
  border-radius: 8px !important;

  &::after {
    bottom: -9px !important;
  }
}

.ant-menu-light {



  .ant-menu-item:hover {
    * {
      color: #f9f9f9 !important;
    }
  }

  .ant-menu-item-only-child:hover {

    * {
      color: #000 !important;
    }
  }
}


.amap-logo,
.amap-copyright {
  display: none !important;
}

.fate {

  // colorBgContainer, colorTextBase, colorBgSecondary, colorPrimary, colorBgThird
  .dv-scroll-board {
    overflow: hidden !important;

    .rows {
      .row-item:nth-child(odd) {
        color: var(--colorTextBase) !important;
      }

      .row-item:nth-child(even) {
        color: var(--colorTextBase) !important;
      }
    }
  }

  .header {
    background-color: var(--colorBgThird) !important;
    color: var(--colorTextBase) !important;
  }

  .info-name {
    color: var(--colorTextBase) !important;
  }

  .label-column {
    color: var(--colorTextBase) !important;
  }

  .capsule-item-value,
  .unit-label {
    color: var(--colorTextBase) !important;
  }
}

.rank {
  color: #00a6ff !important;
}

.ranking-column {
  border-color: #00a6ff !important;
}

.inside-column {
  background-color: #00a6ff !important;
}

.ant-badge-multiple-words {
  padding: 0 4px !important;
}

.ant-result {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  .ant-result-image {
    margin: 0 !important;
    margin-bottom: 50px !important;
  }
}

.item {
  padding: 10px;
  margin: 2px;
  display: flex;
  justify-content: space-between;
  background-color: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
}

.tabsTable {
  margin: 12px;
  border: 1px solid #f0f0f0;
  box-shadow: rgb(240, 240, 240) 0px 0px 8px 0px;

  .ant-tabs-nav {
    padding: 0 20px !important;

    .ant-tabs-tab-btn {
      font-weight: normal;
      font-size: 16px;
    }
  }

  .ant-tabs-content-holder {
    padding: 24px !important;
    padding-top: 0 !important;
  }
}

.ant-modal-confirm-content {
  margin: 0 !important;
  max-width: inherit !important;
  margin-top: 20px !important;
}

.lmapbg {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #dfdcda, #edebea);
  position: relative;

  &::before {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    background-image: url(./assets/bg.svg);
    z-index: 0;
    opacity: 0.5;
  }
}

.mapbg {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1d1d1d, #2d2d2d);
  position: relative;

  &::before {
    content: "";
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    background-image: url(./assets/bg.svg);
    z-index: 0;
    opacity: 0.5;
  }
}

.ant-card.diys {
  display: flex;
  flex-direction: column;
  width: 100%;

  .ant-tabs-tab {
    font-size: 14px !important;
  }

  .ant-tabs-nav-wrap {
    padding-left: 12px;
  }

  .ant-card-head {
    min-height: 32px !important;
    padding: 0;
    border: none !important;

    .ant-card-head-title {
      padding-top: 0;
    }
  }

  .ant-card-body {
    flex: 1;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

.active-ring-name {
  color: #999999 !important;
  height: auto !important;
}

.ffsr {
  width: 100%;
  padding: 4px;
  margin: 4px;
  background-color: rgba(0, 166, 255, 0.1) !important;
  flex-shrink: 0 !important;
  border-radius: 4px;
  height: 40%;
  

  >div {
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      font-size: 14px;

      b {
        font-size: 18px;
      }
    }
  }
}